package org.jiajie.designpatterndemo.states.guru;

import org.jiajie.designpatterndemo.states.guru.ui.Player;

/**
 * 通用状态接口
 *
 * @author jie
 */
public abstract class State {
    Player player;

    /**
     * Context passes itself through the state constructor
     * This may help a state to fetch some context data if needed.
     */
    public State(Player player) {
        this.player = player;
    }

    public abstract String onLock();
    public abstract String onPlay();
    public abstract String onNext();
    public abstract String onPrevious();
}
